package com.xiaobaibai.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaobaibai.entity.Coupon;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaobaibai
 * @since 2020-10-24
 */
public interface ICouponService extends IService<Coupon> {

    //获取当前在线优惠券
    public List<Coupon> getCouponList();

    public boolean receiveCoupon(Integer userId,Integer couponId);

}
